package xuegao.study.mall.repo.dao.sms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import xuegao.study.mall.common.domain.portal.SmsCouponHistoryDetail;
import xuegao.study.mall.common.model.sms.SmsCoupon;
import xuegao.study.mall.common.model.sms.SmsCouponHistory;

import java.util.List;

public interface SmsCouponHistoryDao extends BaseMapper<SmsCouponHistory> {

    List<SmsCouponHistoryDetail> getDetailList(@Param("memberId") Long memberId);

    List<SmsCoupon> getCouponList(@Param("memberId") Long memberId, @Param("useStatus") Integer useStatus);
}
